<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>欢迎进入我的博客</title>
    <link rel="stylesheet" href="../static/css/custom.css" th:href="@{/css/custom.css}">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
</head>
<body>

<div class="ui  vertical basic segment masthead">
    <div class="ui big text menu">
        <div class="right menu">
            <div class="item">
                <button type="button" name="button" class="ui inverted circular button" onclick="redirect()"/>>管理员入口</button>
            </div>
        </div>
    </div>
    <h1 class="ui center inverted aligned header slogan">
        nanshen's blog
        <p class="sub header">
            欢迎进入我的博客
        </p>
        <button type="button" name="button" class="ui orange circular button" onclick="javascript:window.location.href='/index'"/>>点击进入</button>
    </h1>
</div>

<script type="text/javascript">
    function redirect() {
        window.location.href='/admin'
    }
</script>
</body>
</html>
